export const tableOption = {
  border: true,
  index: false,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '手机号',
    prop: 'mobile'
  }, {
    label: '绑定IC卡',
    prop: 'cardNo'
  }, {
    label: '所属运营商',
    prop: 'merchantName'
  }, {
    label: '第一次充电的站点',
    prop: 'firstChargingGroupName'
  }, {
    label: '账户余额',
    prop: 'totalMoney'
  }, {
    label: '充值余额',
    prop: 'money'
  }, {
    label: '赠送余额',
    prop: 'giveMoney'
  }, {
    label: '登录时间',
    prop: 'loginDate'
  }, {
    label: '用户注册时间',
    prop: 'createDate'
  }]
}

export const tableOption1 = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  menuWidth: '120',
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: 'IC卡号',
    prop: 'cardNo'
  }, {
    label: '持卡人信息',
    prop: 'cardInfo',
    width: '200',
    slot: true
  }, {
    label: '所属运营商',
    prop: 'merchantName'
  }, {
    label: 'IC卡金额',
    prop: 'money'
  }, {
    label: 'IC卡状态',
    prop: 'enableFlag',
    type: 'select',
    dicData: [
      {
        label: '未启用',
        value: 0
      },
      {
        label: '启用',
        value: 1
      },
      {
        label: '注销',
        value: -1
      }
    ]
  }, {
    label: 'IC卡启用时间',
    prop: 'enableDate'
  }, {
    label: 'IC卡上次使用时间',
    prop: 'lastUseDate'
  }]
}

export const tableOption3 = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: false,
  menuWidth: '120',
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '用户/IC卡基础信息',
    prop: 'cardNo',
    slot: true
  }, {
    label: '充值本金金额',
    prop: 'price'
  }, {
    label: '充值归属',
    prop: 'splitType',
    dicData: [
      {
        label: '普通账户',
        value: 0
      },
      {
        label: '分账账户',
        value: 1
      }
    ]
  }, {
    label: '充值赠送金额',
    prop: 'giveMoney'
  }, {
    label: '充值前剩余本金额',
    prop: 'currentMoney'
  }, {
    label: '充值前剩余赠送金额',
    prop: 'currentGiveMoney'
  }, {
    label: '充值时间',
    prop: 'createDate'
  }]
}
